import tensorflow as tf
from tensorflow.keras.datasets import mnist
import numpy as np
import struct
import matplotlib.pyplot as plt
import input_data

(x_train_all, y_train_all), (x_test, y_test)= mnist.load_data()
#打印数据的类型
print (" tpye of 'mnist' is %s" % (type(x_train_all)))

with tf.variable_scope('mnist_data'):
